<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <title>爱鲜蜂</title>
    <link rel="stylesheet" href="./font_5pcs1meskwvzpvi/iconfont.css">
    <style media="screen">
        * {
            margin: 0;
            padding: 0;
            font-size: 0.16rem;
        }
        #menu {
            position: fixed;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #f6f6f6;
        }
        #menu>ul {
            display: flex;
            height: 1rem;
            flex-grow: 1;
            justify-content: space-around;
        }
        #menu>ul>li {
            list-style: none;
            text-align: center;
            padding-top: 0.15rem;
        }
        #menu ul li a{
            display: block;
            font-size: 0.25rem;
            text-decoration: none;
            color: #1d1d1d;
        }
        #menu ul li a i{
            font-size: 0.45rem;
            color: #1d1d1d;
        }
    </style>
</head>
<body>
    <div class="content" style="display: flex;flex-direction: column;padding-bottom:1rem"></div>
    <div id="menu">
        <ul>
            <li>
                <a href="#home">
                    <i class="icon iconfont icon-shouye-shouye"></i>
                    <p>首页</p>
                </a>
            </li>
            <li>
                <a href="#shan">
                    <i class="icon iconfont icon-shandian"></i>
                    <p>闪送超市</p>
                </a>
            </li>
            <li>
                <a href="#shopcar" class="shop">
                    <i class="icon iconfont icon-gouwuche"></i>
                    <p>购物车</p>
                </a>
            </li>
            <li>
                <a href="#mine" class="me">
                    <i class="icon iconfont icon-wo"></i>
                    <p>我的</p>
                </a>
            </li>
        </ul>
    </div>
</body>
<script type="text/javascript" src="./libs/requirejs.js" data-main="main" async="true" defer></script>
<script type="text/javascript">
    (function (doc, win) {
        var docEl = doc.documentElement,
            resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize',
            recalc = function () {
                var clientWidth = docEl.clientWidth;
                if (!clientWidth) return;
                if(clientWidth>=640){
                    docEl.style.fontSize = '100px';
                }else{
                    docEl.style.fontSize = 100 * (clientWidth / 640) + 'px';
                }
            };

        if (!doc.addEventListener) return;
        win.addEventListener(resizeEvt, recalc, false);
        doc.addEventListener('DOMContentLoaded', recalc, false);
    })(document, window);
</script>
</html>
